<?php

/**
 * Enquiry form.
 *
 * @package    MVM Vehicle Showroom (r)
 * @subpackage form
 * @author     Bo Wang < beau32 [at] gmail.com >
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class EnquiryForm extends BaseEnquiryForm {
  public function configure() {
    unset($this['created_at'], $this['updated_at']);

    $this->setValidator('email',new sfValidatorEmail(array('required'=>true), array('invalid' => 'Email address is invalid.')));
  }
}
